#!/usr/bin/python2.4
# vim:ts=4:sw=4:softtabstop=4:smarttab:expandtab


import ez_setup
ez_setup.use_setuptools()

from setuptools import setup
from glob import glob

NAME = "pycopia-website"
VERSION = "1.0"

SITE = "www.pycopia.net"

setup (name=NAME, version=VERSION,
    install_requires = ['pycopia-WWW>=1.0.dev-r126,==dev'],
    package_dir = {"": "src"},
    packages = ["pcdocs"],
    data_files = [("/etc/pycopia", glob("etc/*")), 
                  ("/var/www/%s/media/js" % SITE, glob("media/js/*.js")),
                  ("/var/www/%s/media/js/mochikit" % SITE, glob("media/js/mochikit/*.js")),
                  ("/var/www/%s/media/images" % SITE, glob("media/images/*.png")+glob("media/images/*.jpg")),
                  ("/var/www/%s/media/css" % SITE, glob("media/css/*.css")),
                  ("/var/www/%s/htdocs/download" % SITE, glob("htdocs/download/*")),
                  ("/var/www/%s/htdocs" % SITE, glob("htdocs/*.*")),
        ],
    zip_safe=False,
#    scripts = glob("bin/*"),
    description = "The package for the Pycopia website.",
    long_description = """The package for the Pycopia website.
    """,
    license = "LGPL",
    author = "Keith Dart",
    author_email = "keith@pycopia.net",
    keywords = "pycopia website",
    url = "http://www.pycopia.net/",
    download_url = "ftp://ftp.pycopia.net/pub/python/%s.%s.tar.gz" % (NAME, VERSION),
    classifiers = ["Operating System :: POSIX", 
                   "Topic :: Software Development :: Libraries :: Python Modules",
                   "Topic :: System :: Networking :: Monitoring",
                   "Intended Audience :: Developers"],
)


